package cn.afterturn.easypoi.test.entity.onettomany;

import java.util.List;

import com.google.common.collect.Lists;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;

/**
 * 需求梳理表
 *
 * @author Walt
 */
public class DemandEntity
{
    private static final long serialVersionUID = 1L;
    
    /**
     * 需求部门名称
     */
    @Excel(name = "部门", needMerge = true, width = 20)
    private String deptName = "";
    
    /**
     * 编码
     */
    @Excel(name = "供需编码", needMerge = true, width = 20)
    private String code;
    
    /**
     * 名称
     */
    @Excel(name = "供需名称", needMerge = true, width = 20)
    private String name;
    
    /**
     * 类别
     */
    @Excel(name = "类别(数据字典)", needMerge = true, dict = "category")
    private Integer category;
    
    /**
     * 年平均办件量
     */
    @Excel(name = "年办件量", needMerge = true)
    private Long handleTotal;
    
    /**
     * 需求材料表
     */
    @ExcelCollection(name = "")
    private List<SupMaterialEntity> supMaterialList = Lists.newArrayList();
    
    public List<SupMaterialEntity> getSupMaterialList()
    {
        return supMaterialList;
    }
    
    public void setSupMaterialList(List<SupMaterialEntity> supMaterialList)
    {
        this.supMaterialList = supMaterialList;
    }
    
    public String getCode()
    {
        return code;
    }
    
    public void setCode(String code)
    {
        this.code = code;
    }
    
    public String getName()
    {
        return name;
    }
    
    public void setName(String name)
    {
        this.name = name;
    }
    
    public Integer getCategory()
    {
        return category;
    }
    
    public void setCategory(Integer category)
    {
        this.category = category;
    }
    
    public Long getHandleTotal()
    {
        return handleTotal;
    }
    
    public void setHandleTotal(Long handleTotal)
    {
        this.handleTotal = handleTotal;
    }
    
    public String getDeptName()
    {
        return deptName;
    }
    
    public void setDeptName(String deptName)
    {
        this.deptName = deptName;
    }
}
